package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;

import com.atguigu.gulimallflow.dao.ActGeBytearrayDao;
import com.atguigu.gulimallflow.entity.ActGeBytearrayEntity;
import com.atguigu.gulimallflow.service.ActGeBytearrayService;


@Service("actGeBytearrayService")
public class ActGeBytearrayServiceImpl extends ServiceImpl<ActGeBytearrayDao, ActGeBytearrayEntity> implements ActGeBytearrayService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActGeBytearrayEntity> page = this.page(
                new Query<ActGeBytearrayEntity>().getPage(params),
                new QueryWrapper<ActGeBytearrayEntity>()
        );

        return new PageUtils(page);
    }

}
